using CatLib;
using CatLib.Container;
using GameFramework.UI;
using GameFramework.UI.FairyGUI;

namespace GameLogic.UI
{
    /// <summary>
    /// 游戏UI配置提供者
    /// </summary>
    public sealed class GameUIConfigurationProvider : ServiceProvider
    {
        public override void Register()
        {
            base.Register();
            
            App.Singleton<IUIGroupConfiguration, GameUIGroupConfiguration>();
            App.Singleton<IFairyGUIConfiguration, GameFairyGUIConfiguration>();
            App.Singleton<GameMainFormGroupSetting>();
            App.Singleton<GamePopupFormGroupSetting>();
            App.Singleton<GameFixedFormGroupSetting>();
        }
    }
}